
package org.darcy.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "CheckPlanDetail: 采样计划详情")
@TableName(value = "check_plan_detail")
@Getter
@Setter
public class CheckPlanDetail implements Serializable {

	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	@TableId(type = IdType.AUTO)
	@ExcelIgnore
	private Integer id;

	@Schema(description = "采样计划id")
	@TableField(value = "`plan_id`")
	@ExcelIgnore
	private Integer planId;

	@Schema(description = "检测类别")
	@TableField(value = "`check_type`")
	@ExcelProperty("检测类别")
	private String checkType;

	@Schema(description = "检测点位")
	@TableField(value = "`check_spot`")
	@ExcelProperty("检测点位")
	private String checkSpot;

	@Schema(description = "检测项目")
	@TableField(value = "`check_item`")
	@ExcelProperty("检测项目")
	private String checkItem;

	@Schema(description = "类别")
	@TableField(value = "`check_subtype`")
	@ExcelProperty("类别")
	private String checkSubtype;

	@Schema(description = "评价标准")
	@TableField(value = "`check_standard`")
	@ExcelProperty("检测方法")
	private String checkStandard;

	@Schema(description = "采集或保存方法")
	@TableField(value = "`collect_way`")
	@ExcelProperty("采集或保存方法")
	private String collectWay;

	@Schema(description = "点位（个）")
	@TableField(value = "`check_spot_count`")
	@ExcelProperty("点位（个）")
	private Integer checkSpotCount;

	@Schema(description = "频次（次）")
	@TableField(value = "`check_freq`")
	@ExcelProperty("频次（次）")
	private Integer checkFreq;

	@Schema(description = "周期（天）")
	@TableField(value = "`check_cycle`")
	@ExcelProperty("周期（天）")
	private Integer checkCycle;

	@Schema(description = "检测时间")
	@TableField(value = "`check_time`")
	@ExcelIgnore
	private Date checkTime;

	@Schema(description = "检测项目总数")
	@TableField(value = "`check_item_count`")
	@ExcelProperty("检测项目总数")
	private Integer checkItemCount;

	@Schema(description = "分析费")
	@TableField(value = "`check_price`")
	@ExcelProperty("分析费")
	private Float checkPrice;

	@Schema(description = "采样费单价")
	@TableField(value = "`collect_price`")
	@ExcelProperty("采样费单价")
	private Float collectPrice;

	@Schema(description = "测试费小计")
	@TableField(value = "`check_fee`")
	@ExcelProperty("测试费小计")
	private Float checkFee;

	@Schema(description = "创建时间")
	@TableField(value = "`create_time`")
	@ExcelIgnore
	private Date createTime;

	@Schema(description = "更新时间")
	@TableField(value = "`update_time`")
	@ExcelIgnore
	private Date updateTime;

	@Schema(description = "删除标识0：删除；1：存在")
	@TableField(value = "`del_flag`")
	@ExcelIgnore
	private Integer delFlag;

}
